home *** CD-ROM | disk | FTP | other *** search
- Installing MIPSpro for use with Modules
- ---------------------------------------
-
- Install the modules package into the default root. Once this is done,
- you can install the MIPSpro compilers as follows.
-
- The MIPSpro modulefile will work with the following general installation:
-
- # inst -r /opt/MIPSpro/"version" -f "location of MIPSpro distribution"
-
- Where version is "version.base" for a base package or the name of a patch set.
- If you are applying a patch set to a version in /opt/MIPSpro, you must
- copy the version you are patching to the new patch set directory prior to
- installing the patches via -r /opt/MIPSpro/"patch set".
-
- Once the software is installed, you must set the MIPSpro link as follows:
- # cd /opt/MIPSpro
- # ln -s "version" MIPSpro (MIPSpro modulefile uses this link)
-
- When installing compilers from CD-ROM with "inst -r" for use
- with the Modules utility, the location of the distribution has to be
- specified as:
- inst -f /CDROM/dist on IRIX 6.2
- inst -f /CDROM/dist/dist6.3 on IRIX 6.3
- inst -f /CDROM/dist/dist6.4 on IRIX 6.4
-
- For example to install the MIPSpro C 7.2 CD on an IRIX 6.4 platform under
- /opt/MIPSpro:
-
- 1. insert the MIPSpro C 7.2 CD in the CDROM drive
- 2. inst -r /opt/MIPSpro/72 -f /CDROM/dist6.4
- 3. cd /opt/MIPSpro
- 4. ln -s 72 MIPSpro
-
-
- To access the MIPSpro compiler using modules:
-
- % source /opt/modules/modules/init/csh (should be added to .cshrc)
- % module load modules (should be added to .cshrc)
- % module load MIPSpro (can be added to .cshrc)
-
- For each version of the MIPSpro compiler you maintain, you can create
- a modulefile for it by copying the MIPSpro modulefile to /opt/modulefiles
- as MIPSpro."version". Then edit MIPSpro."version" and change the
- value of MIPSPRO_LEVEL to "version".
- Example: You are maintaining a version named old72 as /opt/MIPSpro/old72.
- To create a modulefile for /opt/MIPSpro/old72, copy /opt/modulefiles/MIPSpro
- to /opt/modulefiles/MIPSpro.old72 and change the value of MIPSPRO_LEVEL
- to old72. Users can then change between this version and any other
- version using the module swap command.
- % module swap MIPSpro MIPSpro.old72
-
- NOTE: you should make sure you have the proper flexlm licenses
- installed on the system you intend to run the MIPSpro environment on.
-